h1,h2,h3,h4,h5{
    font-weight: normal;
}
ul{
    list-style: none;
}
a{
    text-decoration: none;
}
*{
    padding: 0;
    margin: 0;
}
@color:#505b65;
body{
    background-color: #efefef;
    color: @color;
    font-family: Verdana, Geneva, sans-serif;
    font-size: 12px;
    line-height: 24px;
}
.header{
    position: fixed;
    top: 0;
    left: 0;
    height: 50px;
    width: 100%;
    background-color: #fefefe;
    padding-top: 5px;
    z-index: 9997;
    .inner{
        width: 1260px;
        max-width: 1260px;
        margin: 0 auto;
        position: relative;
        .logo{
            display: block;
            width: 270px;
            height: 45px;
            position: absolute;
            left: 50%;
            margin-left: -135px;
        }
        .left-part,.right-part{
            position: absolute;
            top: 0;
            height: 50px;
            line-height:45px ;
        }
        .left-part{
            left: 0;
            .nav{
                position: relative;
                margin-right: 10px;
                float: left;
                .nav-icon{
                    width:47px;
                    height: 31px;
                    border-radius: 3px;
                    background-color: #f8f8f8;
                    position: relative;
                    cursor: pointer;
                    box-shadow: inset 0 1px 2px rgba(0,0,0,.06);
                     margin-top: 7px;
                    .icon{
                       
                        width: 16px;
                        height: 16px;
                        position: absolute;
                        top: 50%;
                        left: 50%;
                        margin: -8px 0 0 -8px;
                        background: url(../img/icon.png) -180px -195px no-repeat;
                    }
                }
                
            }
            form{
                float:left;
                position:relative;
                line-height: 24px;
                .all{
                    position: absolute;
                    left: 10px;
                    top: 10px;
                    color: #a9a9a9;
                    cursor: pointer;
                    .down{
                        display: inline-block;
                        width: 10px;
                        height: 10px;
                        background: url(../img/icon.png) -191px -329px no-repeat;
                    }
                }
                .search-text{
                    height: 19px;
                    margin-top: 7px;
                    border: 1px solid #ddd;
                    background-color: #fafafa;
                    border-radius: 3px;
                    padding: 5px 0 5px 58px;
                }
                .search-btn{
                    position: absolute;
                    display: block;
                    width: 20px;
                    height: 20px;
                    right: 5px;
                    top: 12px;
                    border: 0 none;
                    background:url(../img/icon.png) -180px -262px no-repeat;
                }
                .search-option{
                    display: none;
                    background-color: #fff;
                    position: absolute;
                    top: 38px;
                    left: 1px;
                    width: 226px;
                    box-shadow: 0 1px 2px rgba(0,0,0,0.45);
                    border-radius: 3px;
                    ul{
                        
                        li{
                            padding: 5px 10px;
                            height: 25px;
                            line-height: 25px;
                            color: #8f8f8f;
                            cursor: pointer;
                            position: relative;
                            label{
                                float: left;
                            }
                            input{
                                margin-top: 5px;
                                float: right;
                                width: auto;
                            }
                            &:hover{
                                background: #eee;
                            }
                        }
                    }
                }
            }
        }
        .right-part{
            right:0 ;
            color: #a9a9a9;
            a{
                color: #8f8f8f;
                
            }
            span{
                margin: 0 5px;
            }
        }
    }
}


.container{
    width: 100%;
    padding: 10px 0;
    .content{
        width: 1080px;
        position: relative;
        margin: 56px auto 0;
        
        #hot-tag{ 
            
            .item{
                background-color: #fff;
                margin: 10px;
                box-shadow:0 1px 3px rgba(0,0,0,0.3) ;
                border-radius: 3px;
                overflow: hidden;
                .item-main{
                    padding: 10px;
                    h3{
                        color: #a9a9a9;
                        margin-bottom: 10px;
                        font-size: 12px;
                    }
                    h2{
                        color: #79ac21;
                        font-size: 14px;
                    }
                    ul{
                        li{
                            float: left;
                            a{
                                float: left;
                                color: #8f8f8f;
                                padding: 2px 10px;
                                margin: 5px 10px 5px 0;
                                background-color: #f8f8f8;
                            }
                        }
                    }
                }
            }
        }
        .grid{
             width: 270px;
             float: left;
             box-shadow: 0 1px 3px rgba(34,25,25,0.4);
            -moz-box-shadow: 0 1px 3px rgba(34,25,25,0.4);
            -webkit-box-shadow: 0 1px 3px rgba(34,25,25,0.4);
            
            -webkit-transition: top 1s ease, left 1s ease;
            -moz-transition: top 1s ease, left 1s ease;
            -o-transition: top 1s ease, left 1s ease;
            -ms-transition: top 1s ease, left 1s ease;
            .item{
                background-color: #fff;
                margin: 10px;
                box-shadow:0 1px 3px rgba(0,0,0,0.3) ;
                border-radius: 3px;
                overflow: hidden;
                .item-main{
                    .item-img-box{
                        position:relative;
                        .item-img{
                            
                            overflow: hidden;
                            display: block;
                            position: relative;
                            img{
                                box-sizing: border-box;
                                height: auto;
                                max-width: 100%;
                                text-align: center;
                                display: block;
                                margin: 0 auto;
                            }
                        }
                    }
                    h2{
                        margin-top: 10px;
                        padding: 0 10px;
                        a{
                            color: #505B65;
                            font-size: 12px;
                        }
                    }
                    .action-info{
                        text-align: right;
                        padding: 0 10px;
                        margin-bottom: 3px;
                        height: 24px;
                    }
                    .item-meta{
                        
                        .item-comment-info{
                            
                            background-color: #FBFBFB;
                            color: #888;
                            border-top: 1px solid #F0F0F0;
                            padding-bottom: 10px;
                            p{
                                padding: 10px;
                                border-bottom: 1px dashed #dfdfdf;
                            }
                        }
                    }
                }
            }
        }
    }
}

.footer{
    color: #777;
    height: auto;
    text-align: center;
    background-color: #fff;
    border-top: 1px solid #d2d2d2;
    padding: 10px;
    position: relative;
    .inner{
        width: 1080px;
        margin: 0 auto;
        a{
            color: #777;
        }
    }
}

.return-top{
    position: fixed;
    bottom: -72px;
    right: 10px;
    z-index: 9999;
    width: 72px;
    height:72px;
    background: url(../images/toTop.png) -87px 0px no-repeat;
    cursor: pointer;
}
